<p><a href="<?php echo $this->url(
	array(
		'controller' => 'deliveryorder',
		'action'     => 'create'
	),
	'default',
	true) ?>">开单</a></p>
   
提货单一览: <br />
<table class="infotable">
	<thead>
		<tr>
			<td>提货单号</td>
			<td>客户名称</td>
			<td>结算方式</td>
			<td>发票</td>
			<td>发货仓库</td>
			<td>提货单日期</td>
			<td>有效期</td>
			<td>金额</td>
			<td>操作</td>
		</tr>
	</thead>
	<?php foreach ($this->deliverorders as $entry): ?>
		<tr>
		<td>
			<a href="<?php echo $this->url(
				array('controller'=>'deliveryorder',
					'action'  => 'showone',
					'deliveryorderId' => $entry->get_id(),
					),
					'default',
				true)?>"><?php echo $this->escape($entry->get_serialNumber()) ?></a>
		</td>
		<td><?php echo $this->escape($entry->__get('customerInfo.name'))?></td>
		<td><?php echo $this->escape($entry->get_settlementModeText()) ?></td>
		<td><?php echo $this->escape($entry->get_invoiceStatusText()) ?></td>
		<td><?php echo $this->escape($entry->__get('entrepotInfo.name')) ?></td>
		<td><?php echo $this->escape($entry->get_createDate()) ?></td>
		<td><?php echo $this->escape($entry->get_expireDays()) ?></td>
		<td><?php echo $this->escape($entry->get_total()) ?></td>
		<td>
			<a href="<?php echo $this->url(
				array('controller'=>'deliveryorder',
					'action'  => 'showone',
					'deliveryorderId' => $entry->get_id(),
					),
					'default',
				true)?>">详细&nbsp;|&nbsp;</a>
			<a href="<?php echo $this->url(
				array(
				'controller' => 'deliveryorder',
				'action'     => 'edit',
				'deliveryorderId' => $entry->get_id(),
				),
				'default',
				true) ?>">编辑
			</a>
			&nbsp;|&nbsp;
			<a href="<?php echo $this->url(
				array(
				'controller' => 'deliveryorder',
				'action'     => 'delete',
				'deliveryorderId' => $entry->get_id(),
				),
				'default',
				true) ?>">删除
			</a>
		</td>
		</tr>
	<?php endforeach ?>
</table>

